<div class="row RowSpace" style="margin-bottom:20px;">
  <div class="LableDiv" style="width:50px;"><Btn class="BtnSave" Enabled="{{Module.CompletePlan.FocusedRecord!=null}}" value="保存" ng-click="btnSave()"></Btn></div>
  <div class="LableDiv" style="width:60px;"><Btn Enabled="{{Module.CompletePlan.FocusedRecord!=null}}" value="放弃" ng-click="btnCancel()"></Btn></div>
  <div class="LableDiv" style="width:50px;">
    <BtnFind DisplayName="查找" WindowTitle="完工计划" module="Module.CompletePlan">
      <FColumn type="0" width="130px" displayname="编码" valuefield="Code"></FColumn>
      <FColumn type="textbox" width="180px" displayname="物料" valuefield="ItemMaster.Name"></FColumn>
      <FColumn type="DropDownList" width="50px" enum="StatusEnum" displayname="状态" valuefield="Status"></FColumn>
      <FColumn type="NumberBox" width="70px" displayname="生产数量" valuefield="Qty"></FColumn>
      <FColumn type="NumberBox" width="70px" displayname="完工数量" valuefield="CompleteQty"></FColumn>
      <FColumn type="Calendar" width="140px" displayname="完工日期" valuefield="CompleteTime"></FColumn>
    </BtnFind>
  </div>
  <div class="LableDiv" style="width:60px;"><Btn value="列表" ng-click="btnList()"></Btn></div>
  <PageButton module="Module.CompletePlan"></PageButton>
</div>
<div class="row RowSpace">
  <div class="LableDiv"><Label IsEmpty="false">单号</Label></div>
  <div class="InputDiv"><TextBox Enabled="false" value="Module.CompletePlan.FocusedRecord.Code"></TextBox></div>
  <div class="LableDiv"><Label IsEmpty="false">批号</Label></div>
  <div class="InputDiv"><TextBox Enabled="false" value="Module.CompletePlan.FocusedRecord.LotNumber"></TextBox></div>
  <div class="LableDiv"><Label IsEmpty="false">物料</Label></div>
  <div class="InputDiv" style="width:42%;">
    <Refer Enabled="false" EntityName="ItemMaster" WindowTitle="物料" value="Module.CompletePlan.FocusedRecord.ItemMaster">
      <RColumn type="0" width="150px" DisplayName="编码" valuefield="Code"></RColumn>
    </Refer>
  </div>
</div>
<div class="row RowSpace">
  <div class="LableDiv"><Label>生产数量</Label></div>
  <div class="InputDiv"><NumberBox Enabled="false" value="Module.CompletePlan.FocusedRecord.Qty"></NumberBox></div>
  <div class="LableDiv"><Label>完工数量</Label></div>
  <div class="InputDiv"><NumberBox Enabled="false" value="Module.CompletePlan.FocusedRecord.CompleteQty"></NumberBox></div>
  <div class="LableDiv"><Label IsEmpty="false">完工日期</Label></div>
  <div class="InputDiv"><Calendar value="Module.CompletePlan.FocusedRecord.CompleteTime"></Calendar></div>
  <div class="LableDiv"><Label>状态</Label></div>
  <div class="InputDiv"><DropDownList Enabled="false" value="Module.CompletePlan.FocusedRecord.Status" Enabled="false" enum="StatusEnum"></DropDownList></div>
</div>
<div class="row RowSpace">
  <div class="LableDiv"><Label>备注</Label></div>
  <div class="InputDiv" style="width:42%;height:80px;"><TextareaBox Enabled="false" value="Module.CompletePlan.FocusedRecord.Remark"></div>
</div>